package comparator;

import java.util.Comparator;

public class AgeComparator implements Comparator {

	
	/**
	 * This class defines comparison logic based on the age. If age of first
	 * object is greater than the second, we are returning positive value, it
	 * can be any one such as 1, 2 , 10 etc. If age of first object is less than
	 * the second object, we are returning negative value, it can be any
	 * negative value and if age of both objects are equal, we are returning 0.
	 */
	@Override
	public int compare(Object arg0, Object arg1) {
		// TODO Auto-generated method stub
		return 0;
	}
		
	
}
